package com.lucun.es_transaction.mapper;

import com.lucun.es_transaction.entity.UserInfo;

public interface UserInfoMapper {

    /*
     *  添加用户个人信息
     **/
    int insert(UserInfo record);

    /*
     * 通过用户编号查询  随机8位数
     * */
    UserInfo findByNumber(String number);

    /*
     *  修改用户个人信息
     **/
     int updateByPrimaryKeySelective(UserInfo record);


    //根据ID修改实名认证状态
    int update(Integer id);


    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table user_info
     *
     * @mbg.generated
     */
    int deleteByPrimaryKey(Integer id);

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table user_info
     *
     * @mbg.generated
     */


    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table user_info
     *
     * @mbg.generated
     */
    int insertSelective(UserInfo record);

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table user_info
     *
     * @mbg.generated
     */
    UserInfo selectByPrimaryKey(Integer id);

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table user_info
     *
     * @mbg.generated
     */

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table user_info
     *
     * @mbg.generated
     */
//    int updateByPrimaryKey(UserInfo record);

    UserInfo selectAllByAll(UserInfo userInfo);
}